Skip to content

Use NetworkConfigurator #535

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

fabik111
Copy link
Contributor

Edit the ArduinoIoTCloudTCP FSM for using the NetworkConfigurator

  • added new method for: setting the NetworkConfigurator void setConfigurator(NetworkConfiguratorClass & configurator)
  • added a new state for getting the network configuration from the NVS and initialize the networkconfigutor
  • added a new state for handling the update of network credentials
  • added a new method for disconnecting from the AIoTCloud void disconnect()

Copy link

codecov bot commented Mar 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.81%. Comparing base (4bc2784) to head (b7f0655).
Report is 29 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #535   +/-   ##
=======================================
  Coverage   94.81%   94.81%           
=======================================
  Files          31       31           
  Lines        1370     1370           
=======================================
  Hits         1299     1299           
  Misses         71       71           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fabik111 fabik111 force-pushed the use-networkconfigurator branch from bd3fd1f to 068496c Compare March 28, 2025 10:23
@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Mar 28, 2025
@fabik111 fabik111 force-pushed the use-networkconfigurator branch 8 times, most recently from 380e974 to 8047509 Compare April 8, 2025 13:02
update test ci

update example of sketch that uses the NetworkConfigurator

use NetworkConfigurator wrappers for agentsManager
@fabik111 fabik111 force-pushed the use-networkconfigurator branch from 8c00c86 to a2067ea Compare April 14, 2025 11:56
@fabik111 fabik111 force-pushed the use-networkconfigurator branch from a2067ea to 819161c Compare April 14, 2025 11:57
Copy link

Memory usage change @ e749fc3

Board flash % RAM for global variables %
arduino:esp32:nano_nora 🔺 +8 - +164 0.0 - +0.01 🔺 0 - +8 0.0 - 0.0
arduino:mbed_edge:edge_control 🔺 +8 - +136 0.0 - +0.01 🔺 0 - +8 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 🔺 0 - +8264 0.0 - +0.05 🔺 0 - +764 0.0 - +0.28
arduino:samd:mkr1000 🔺 0 - +136 0.0 - +0.05 🔺 0 - +8 0.0 - +0.02
arduino:samd:mkrgsm1400 🔺 0 - +136 0.0 - +0.05 🔺 0 - +8 0.0 - +0.02
arduino:samd:mkrnb1500 🔺 0 - +136 0.0 - +0.05 🔺 0 - +8 0.0 - +0.02
arduino:samd:mkrwan1300 🔺 +8 - +8 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 🔺 0 - +7408 0.0 - +2.83 🔺 0 - +664 0.0 - +2.03
arduino:samd:nano_33_iot 🔺 0 - +7076 0.0 - +2.7 🔺 0 - +660 0.0 - +2.01
esp32:esp32:esp32 🔺 +20 - +236 0.0 - +0.02 🔺 0 - +8 0.0 - 0.0
esp8266:esp8266:huzzah 🔺 +160 - +176 +0.02 - +0.02 🔺 0 - +8 0.0 - +0.01
rp2040:rp2040:rpipicow 🔺 +136 - +136 +0.01 - +0.01 🔺 0 - +8 0.0 - 0.0
Click for full report table
Board examples/ArduinoIoTCloud-Advanced
flash
% examples/ArduinoIoTCloud-Advanced
RAM for global variables
% examples/ArduinoIoTCloud-Basic
flash
% examples/ArduinoIoTCloud-Basic
RAM for global variables
% examples/ArduinoIoTCloud-Callbacks
flash
% examples/ArduinoIoTCloud-Callbacks
RAM for global variables
% examples/utility/ArduinoIoTCloud_Travis_CI
flash
% examples/utility/ArduinoIoTCloud_Travis_CI
RAM for global variables
% examples/ArduinoIoTCloud-DeferredOTA
flash
% examples/ArduinoIoTCloud-DeferredOTA
RAM for global variables
% examples/ArduinoIoTCloud-Notecard
flash
% examples/ArduinoIoTCloud-Notecard
RAM for global variables
% examples/ArduinoIoTCloud-Schedule
flash
% examples/ArduinoIoTCloud-Schedule
RAM for global variables
% examples/ArduinoIoTCloud-NetConfig
flash
% examples/ArduinoIoTCloud-NetConfig
RAM for global variables
% examples/utility/Provisioning
flash
% examples/utility/Provisioning
RAM for global variables
% examples/utility/SelfProvisioning
flash
% examples/utility/SelfProvisioning
RAM for global variables
% examples/utility/Provisioning_2.0
flash
% examples/utility/Provisioning_2.0
RAM for global variables
%
arduino:esp32:nano_nora 160 0.01 0 0.0 156 0.0 8 0.0 164 0.01 0 0.0 152 0.0 8 0.0 160 0.01 8 0.0 8 0.0 0 0.0 152 0.0 0 0.0
arduino:mbed_edge:edge_control 136 0.01 8 0.0 136 0.01 0 0.0 136 0.01 8 0.0 136 0.01 0 0.0 8 0.0 0 0.0 72 0.01 0 0.0
arduino:mbed_nano:nanorp2040connect 8258 0.05 764 0.28 8262 0.05 764 0.28 8264 0.05 764 0.28 8254 0.05 764 0.28 8262 0.05 764 0.28 3070 0.02 344 0.13 8258 0.05 764 0.28 N/A N/A N/A N/A 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:samd:mkr1000 136 0.05 8 0.02 136 0.05 8 0.02 136 0.05 8 0.02 136 0.05 8 0.02 8 0.0 0 0.0 136 0.05 8 0.02 0 0.0 0 0.0
arduino:samd:mkrgsm1400 128 0.05 8 0.02 136 0.05 8 0.02 128 0.05 8 0.02 128 0.05 8 0.02 8 0.0 0 0.0 136 0.05 8 0.02 0 0.0 0 0.0
arduino:samd:mkrnb1500 136 0.05 8 0.02 128 0.05 8 0.02 136 0.05 8 0.02 128 0.05 8 0.02 8 0.0 0 0.0 128 0.05 8 0.02 0 0.0 0 0.0
arduino:samd:mkrwan1300 8 0.0 0 0.0 8 0.0 0 0.0 8 0.0 0 0.0 8 0.0 0 0.0 8 0.0 0 0.0
arduino:samd:mkrwifi1010 7408 2.83 664 2.03 7400 2.82 640 1.95 7400 2.82 648 1.98 7392 2.82 640 1.95 7392 2.82 640 1.95 1936 0.74 288 0.88 7400 2.82 640 1.95 N/A N/A N/A N/A 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:samd:nano_33_iot 7068 2.7 660 2.01 7068 2.7 652 1.99 7076 2.7 660 2.01 7060 2.69 652 1.99 7068 2.7 652 1.99 1948 0.74 300 0.92 7068 2.7 652 1.99 N/A N/A N/A N/A 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
esp32:esp32:esp32 208 0.02 0 0.0 212 0.02 8 0.0 232 0.02 0 0.0 208 0.02 8 0.0 200 0.02 8 0.0 20 0.0 0 0.0 236 0.02 0 0.0
esp8266:esp8266:huzzah 176 0.02 8 0.01 160 0.02 0 0.0 176 0.02 8 0.01 160 0.02 0 0.0 176 0.02 0 0.0
rp2040:rp2040:rpipicow 136 0.01 0 0.0 136 0.01 8 0.0 136 0.01 8 0.0 136 0.01 8 0.0
Click for full report CSV
Board,examples/ArduinoIoTCloud-Advanced<br>flash,%,examples/ArduinoIoTCloud-Advanced<br>RAM for global variables,%,examples/ArduinoIoTCloud-Basic<br>flash,%,examples/ArduinoIoTCloud-Basic<br>RAM for global variables,%,examples/ArduinoIoTCloud-Callbacks<br>flash,%,examples/ArduinoIoTCloud-Callbacks<br>RAM for global variables,%,examples/utility/ArduinoIoTCloud_Travis_CI<br>flash,%,examples/utility/ArduinoIoTCloud_Travis_CI<br>RAM for global variables,%,examples/ArduinoIoTCloud-DeferredOTA<br>flash,%,examples/ArduinoIoTCloud-DeferredOTA<br>RAM for global variables,%,examples/ArduinoIoTCloud-Notecard<br>flash,%,examples/ArduinoIoTCloud-Notecard<br>RAM for global variables,%,examples/ArduinoIoTCloud-Schedule<br>flash,%,examples/ArduinoIoTCloud-Schedule<br>RAM for global variables,%,examples/ArduinoIoTCloud-NetConfig<br>flash,%,examples/ArduinoIoTCloud-NetConfig<br>RAM for global variables,%,examples/utility/Provisioning<br>flash,%,examples/utility/Provisioning<br>RAM for global variables,%,examples/utility/SelfProvisioning<br>flash,%,examples/utility/SelfProvisioning<br>RAM for global variables,%,examples/utility/Provisioning_2.0<br>flash,%,examples/utility/Provisioning_2.0<br>RAM for global variables,%
arduino:esp32:nano_nora,160,0.01,0,0.0,156,0.0,8,0.0,164,0.01,0,0.0,152,0.0,8,0.0,160,0.01,8,0.0,8,0.0,0,0.0,152,0.0,0,0.0
arduino:mbed_edge:edge_control,136,0.01,8,0.0,136,0.01,0,0.0,136,0.01,8,0.0,136,0.01,0,0.0,,,,,8,0.0,0,0.0,72,0.01,0,0.0
arduino:mbed_nano:nanorp2040connect,8258,0.05,764,0.28,8262,0.05,764,0.28,8264,0.05,764,0.28,8254,0.05,764,0.28,8262,0.05,764,0.28,3070,0.02,344,0.13,8258,0.05,764,0.28,N/A,N/A,N/A,N/A,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:samd:mkr1000,136,0.05,8,0.02,136,0.05,8,0.02,136,0.05,8,0.02,136,0.05,8,0.02,,,,,8,0.0,0,0.0,136,0.05,8,0.02,,,,,0,0.0,0,0.0,,,,,,,,
arduino:samd:mkrgsm1400,128,0.05,8,0.02,136,0.05,8,0.02,128,0.05,8,0.02,128,0.05,8,0.02,,,,,8,0.0,0,0.0,136,0.05,8,0.02,,,,,0,0.0,0,0.0,,,,,,,,
arduino:samd:mkrnb1500,136,0.05,8,0.02,128,0.05,8,0.02,136,0.05,8,0.02,128,0.05,8,0.02,,,,,8,0.0,0,0.0,128,0.05,8,0.02,,,,,0,0.0,0,0.0,,,,,,,,
arduino:samd:mkrwan1300,8,0.0,0,0.0,8,0.0,0,0.0,8,0.0,0,0.0,8,0.0,0,0.0,,,,,8,0.0,0,0.0,,,,,,,,,,,,,,,,,,,,
arduino:samd:mkrwifi1010,7408,2.83,664,2.03,7400,2.82,640,1.95,7400,2.82,648,1.98,7392,2.82,640,1.95,7392,2.82,640,1.95,1936,0.74,288,0.88,7400,2.82,640,1.95,N/A,N/A,N/A,N/A,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:samd:nano_33_iot,7068,2.7,660,2.01,7068,2.7,652,1.99,7076,2.7,660,2.01,7060,2.69,652,1.99,7068,2.7,652,1.99,1948,0.74,300,0.92,7068,2.7,652,1.99,N/A,N/A,N/A,N/A,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
esp32:esp32:esp32,208,0.02,0,0.0,212,0.02,8,0.0,232,0.02,0,0.0,208,0.02,8,0.0,200,0.02,8,0.0,20,0.0,0,0.0,236,0.02,0,0.0,,,,,,,,,,,,,,,,
esp8266:esp8266:huzzah,176,0.02,8,0.01,160,0.02,0,0.0,176,0.02,8,0.01,160,0.02,0,0.0,,,,,,,,,176,0.02,0,0.0,,,,,,,,,,,,,,,,
rp2040:rp2040:rpipicow,136,0.01,0,0.0,136,0.01,8,0.0,136,0.01,8,0.0,136,0.01,8,0.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,

@fabik111 fabik111 force-pushed the use-networkconfigurator branch from e749fc3 to bbf3f69 Compare April 14, 2025 14:34
Copy link

Memory usage change @ bbf3f69

Board flash % RAM for global variables %
arduino:esp32:nano_nora 🔺 +8 - +164 0.0 - +0.01 🔺 0 - +8 0.0 - 0.0
arduino:mbed_edge:edge_control 🔺 +8 - +136 0.0 - +0.01 🔺 0 - +8 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 🔺 0 - +8264 0.0 - +0.05 🔺 0 - +764 0.0 - +0.28
arduino:samd:mkr1000 🔺 0 - +136 0.0 - +0.05 🔺 0 - +8 0.0 - +0.02
arduino:samd:mkrgsm1400 🔺 0 - +136 0.0 - +0.05 🔺 0 - +8 0.0 - +0.02
arduino:samd:mkrnb1500 🔺 0 - +136 0.0 - +0.05 🔺 0 - +8 0.0 - +0.02
arduino:samd:mkrwan1300 🔺 +8 - +8 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 🔺 0 - +7408 0.0 - +2.83 🔺 0 - +664 0.0 - +2.03
arduino:samd:nano_33_iot 🔺 0 - +7076 0.0 - +2.7 🔺 0 - +660 0.0 - +2.01
esp32:esp32:esp32 🔺 +20 - +236 0.0 - +0.02 🔺 0 - +8 0.0 - 0.0
esp8266:esp8266:huzzah 🔺 +160 - +176 +0.02 - +0.02 🔺 0 - +8 0.0 - +0.01
rp2040:rp2040:rpipicow 🔺 +136 - +136 +0.01 - +0.01 🔺 0 - +8 0.0 - 0.0
Click for full report table
Board examples/ArduinoIoTCloud-Advanced
flash
% examples/ArduinoIoTCloud-Advanced
RAM for global variables
% examples/ArduinoIoTCloud-Basic
flash
% examples/ArduinoIoTCloud-Basic
RAM for global variables
% examples/ArduinoIoTCloud-Callbacks
flash
% examples/ArduinoIoTCloud-Callbacks
RAM for global variables
% examples/utility/ArduinoIoTCloud_Travis_CI
flash
% examples/utility/ArduinoIoTCloud_Travis_CI
RAM for global variables
% examples/ArduinoIoTCloud-DeferredOTA
flash
% examples/ArduinoIoTCloud-DeferredOTA
RAM for global variables
% examples/ArduinoIoTCloud-Notecard
flash
% examples/ArduinoIoTCloud-Notecard
RAM for global variables
% examples/ArduinoIoTCloud-Schedule
flash
% examples/ArduinoIoTCloud-Schedule
RAM for global variables
% examples/ArduinoIoTCloud-NetConfig
flash
% examples/ArduinoIoTCloud-NetConfig
RAM for global variables
% examples/utility/Provisioning
flash
% examples/utility/Provisioning
RAM for global variables
% examples/utility/SelfProvisioning
flash
% examples/utility/SelfProvisioning
RAM for global variables
% examples/utility/Provisioning_2.0
flash
% examples/utility/Provisioning_2.0
RAM for global variables
%
arduino:esp32:nano_nora 160 0.01 0 0.0 156 0.0 8 0.0 164 0.01 0 0.0 152 0.0 8 0.0 160 0.01 8 0.0 8 0.0 0 0.0 152 0.0 0 0.0
arduino:mbed_edge:edge_control 136 0.01 8 0.0 136 0.01 0 0.0 136 0.01 8 0.0 136 0.01 0 0.0 8 0.0 0 0.0 72 0.01 0 0.0
arduino:mbed_nano:nanorp2040connect 8258 0.05 764 0.28 8262 0.05 764 0.28 8264 0.05 764 0.28 8254 0.05 764 0.28 8262 0.05 764 0.28 3070 0.02 344 0.13 8258 0.05 764 0.28 N/A N/A N/A N/A 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:samd:mkr1000 136 0.05 8 0.02 136 0.05 8 0.02 136 0.05 8 0.02 136 0.05 8 0.02 8 0.0 0 0.0 136 0.05 8 0.02 0 0.0 0 0.0
arduino:samd:mkrgsm1400 128 0.05 8 0.02 136 0.05 8 0.02 128 0.05 8 0.02 128 0.05 8 0.02 8 0.0 0 0.0 136 0.05 8 0.02 0 0.0 0 0.0
arduino:samd:mkrnb1500 136 0.05 8 0.02 128 0.05 8 0.02 136 0.05 8 0.02 128 0.05 8 0.02 8 0.0 0 0.0 128 0.05 8 0.02 0 0.0 0 0.0
arduino:samd:mkrwan1300 8 0.0 0 0.0 8 0.0 0 0.0 8 0.0 0 0.0 8 0.0 0 0.0 8 0.0 0 0.0
arduino:samd:mkrwifi1010 7408 2.83 664 2.03 7400 2.82 640 1.95 7400 2.82 648 1.98 7392 2.82 640 1.95 7392 2.82 640 1.95 1936 0.74 288 0.88 7400 2.82 640 1.95 N/A N/A N/A N/A 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:samd:nano_33_iot 7068 2.7 660 2.01 7068 2.7 652 1.99 7076 2.7 660 2.01 7060 2.69 652 1.99 7068 2.7 652 1.99 1948 0.74 300 0.92 7068 2.7 652 1.99 N/A N/A N/A N/A 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
esp32:esp32:esp32 208 0.02 0 0.0 212 0.02 8 0.0 232 0.02 0 0.0 208 0.02 8 0.0 200 0.02 8 0.0 20 0.0 0 0.0 236 0.02 0 0.0
esp8266:esp8266:huzzah 176 0.02 8 0.01 160 0.02 0 0.0 176 0.02 8 0.01 160 0.02 0 0.0 176 0.02 0 0.0
rp2040:rp2040:rpipicow 136 0.01 0 0.0 136 0.01 8 0.0 136 0.01 8 0.0 136 0.01 8 0.0
Click for full report CSV
Board,examples/ArduinoIoTCloud-Advanced<br>flash,%,examples/ArduinoIoTCloud-Advanced<br>RAM for global variables,%,examples/ArduinoIoTCloud-Basic<br>flash,%,examples/ArduinoIoTCloud-Basic<br>RAM for global variables,%,examples/ArduinoIoTCloud-Callbacks<br>flash,%,examples/ArduinoIoTCloud-Callbacks<br>RAM for global variables,%,examples/utility/ArduinoIoTCloud_Travis_CI<br>flash,%,examples/utility/ArduinoIoTCloud_Travis_CI<br>RAM for global variables,%,examples/ArduinoIoTCloud-DeferredOTA<br>flash,%,examples/ArduinoIoTCloud-DeferredOTA<br>RAM for global variables,%,examples/ArduinoIoTCloud-Notecard<br>flash,%,examples/ArduinoIoTCloud-Notecard<br>RAM for global variables,%,examples/ArduinoIoTCloud-Schedule<br>flash,%,examples/ArduinoIoTCloud-Schedule<br>RAM for global variables,%,examples/ArduinoIoTCloud-NetConfig<br>flash,%,examples/ArduinoIoTCloud-NetConfig<br>RAM for global variables,%,examples/utility/Provisioning<br>flash,%,examples/utility/Provisioning<br>RAM for global variables,%,examples/utility/SelfProvisioning<br>flash,%,examples/utility/SelfProvisioning<br>RAM for global variables,%,examples/utility/Provisioning_2.0<br>flash,%,examples/utility/Provisioning_2.0<br>RAM for global variables,%
arduino:esp32:nano_nora,160,0.01,0,0.0,156,0.0,8,0.0,164,0.01,0,0.0,152,0.0,8,0.0,160,0.01,8,0.0,8,0.0,0,0.0,152,0.0,0,0.0
arduino:mbed_edge:edge_control,136,0.01,8,0.0,136,0.01,0,0.0,136,0.01,8,0.0,136,0.01,0,0.0,,,,,8,0.0,0,0.0,72,0.01,0,0.0
arduino:mbed_nano:nanorp2040connect,8258,0.05,764,0.28,8262,0.05,764,0.28,8264,0.05,764,0.28,8254,0.05,764,0.28,8262,0.05,764,0.28,3070,0.02,344,0.13,8258,0.05,764,0.28,N/A,N/A,N/A,N/A,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:samd:mkr1000,136,0.05,8,0.02,136,0.05,8,0.02,136,0.05,8,0.02,136,0.05,8,0.02,,,,,8,0.0,0,0.0,136,0.05,8,0.02,,,,,0,0.0,0,0.0,,,,,,,,
arduino:samd:mkrgsm1400,128,0.05,8,0.02,136,0.05,8,0.02,128,0.05,8,0.02,128,0.05,8,0.02,,,,,8,0.0,0,0.0,136,0.05,8,0.02,,,,,0,0.0,0,0.0,,,,,,,,
arduino:samd:mkrnb1500,136,0.05,8,0.02,128,0.05,8,0.02,136,0.05,8,0.02,128,0.05,8,0.02,,,,,8,0.0,0,0.0,128,0.05,8,0.02,,,,,0,0.0,0,0.0,,,,,,,,
arduino:samd:mkrwan1300,8,0.0,0,0.0,8,0.0,0,0.0,8,0.0,0,0.0,8,0.0,0,0.0,,,,,8,0.0,0,0.0,,,,,,,,,,,,,,,,,,,,
arduino:samd:mkrwifi1010,7408,2.83,664,2.03,7400,2.82,640,1.95,7400,2.82,648,1.98,7392,2.82,640,1.95,7392,2.82,640,1.95,1936,0.74,288,0.88,7400,2.82,640,1.95,N/A,N/A,N/A,N/A,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:samd:nano_33_iot,7068,2.7,660,2.01,7068,2.7,652,1.99,7076,2.7,660,2.01,7060,2.69,652,1.99,7068,2.7,652,1.99,1948,0.74,300,0.92,7068,2.7,652,1.99,N/A,N/A,N/A,N/A,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
esp32:esp32:esp32,208,0.02,0,0.0,212,0.02,8,0.0,232,0.02,0,0.0,208,0.02,8,0.0,200,0.02,8,0.0,20,0.0,0,0.0,236,0.02,0,0.0,,,,,,,,,,,,,,,,
esp8266:esp8266:huzzah,176,0.02,8,0.01,160,0.02,0,0.0,176,0.02,8,0.01,160,0.02,0,0.0,,,,,,,,,176,0.02,0,0.0,,,,,,,,,,,,,,,,
rp2040:rp2040:rpipicow,136,0.01,0,0.0,136,0.01,8,0.0,136,0.01,8,0.0,136,0.01,8,0.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,

Copy link

Memory usage change @ ab923bb

Board flash % RAM for global variables %
arduino:esp32:nano_nora 🔺 +8 - +164 0.0 - +0.01 🔺 0 - +8 0.0 - 0.0
arduino:mbed_edge:edge_control 🔺 +8 - +136 0.0 - +0.01 🔺 0 - +8 0.0 - 0.0
arduino:mbed_giga:giga 🔺 0 - +6360 0.0 - +0.32 🔺 0 - +200 0.0 - +0.04
arduino:mbed_nano:nanorp2040connect 🔺 0 - +8277 0.0 - +0.05 🔺 0 - +764 0.0 - +0.28
arduino:mbed_nicla:nicla_vision 🔺 0 - +6304 0.0 - +0.32 🔺 0 - +208 0.0 - +0.04
arduino:mbed_opta:opta 🔺 0 - +6984 0.0 - +0.36 🔺 0 - +208 0.0 - +0.04
arduino:renesas_portenta:portenta_c33 🔺 0 - +7456 0.0 - +0.36 🔺 0 - +368 0.0 - +0.07
arduino:renesas_uno:unor4wifi 🔺 +624 - +10792 +0.24 - +4.12 🔺 +328 - +932 +1.0 - +2.84
arduino:samd:mkr1000 🔺 0 - +136 0.0 - +0.05 🔺 0 - +8 0.0 - +0.02
arduino:samd:mkrgsm1400 🔺 0 - +136 0.0 - +0.05 🔺 0 - +8 0.0 - +0.02
arduino:samd:mkrnb1500 🔺 0 - +136 0.0 - +0.05 🔺 0 - +8 0.0 - +0.02
arduino:samd:mkrwan1300 🔺 +8 - +8 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 🔺 0 - +7424 0.0 - +2.83 🔺 0 - +664 0.0 - +2.03
arduino:samd:nano_33_iot 🔺 0 - +7084 0.0 - +2.7 🔺 0 - +660 0.0 - +2.01
esp32:esp32:esp32 🔺 +20 - +236 0.0 - +0.02 🔺 0 - +8 0.0 - 0.0
esp8266:esp8266:huzzah 🔺 +160 - +176 +0.02 - +0.02 🔺 0 - +8 0.0 - +0.01
rp2040:rp2040:rpipicow 🔺 +136 - +136 +0.01 - +0.01 🔺 0 - +8 0.0 - 0.0
Click for full report table
Board examples/ArduinoIoTCloud-Advanced
flash
% examples/ArduinoIoTCloud-Advanced
RAM for global variables
% examples/ArduinoIoTCloud-Basic
flash
% examples/ArduinoIoTCloud-Basic
RAM for global variables
% examples/ArduinoIoTCloud-Callbacks
flash
% examples/ArduinoIoTCloud-Callbacks
RAM for global variables
% examples/utility/ArduinoIoTCloud_Travis_CI
flash
% examples/utility/ArduinoIoTCloud_Travis_CI
RAM for global variables
% examples/ArduinoIoTCloud-DeferredOTA
flash
% examples/ArduinoIoTCloud-DeferredOTA
RAM for global variables
% examples/ArduinoIoTCloud-Notecard
flash
% examples/ArduinoIoTCloud-Notecard
RAM for global variables
% examples/ArduinoIoTCloud-Schedule
flash
% examples/ArduinoIoTCloud-Schedule
RAM for global variables
% examples/ArduinoIoTCloud-NetConfig
flash
% examples/ArduinoIoTCloud-NetConfig
RAM for global variables
% examples/utility/Provisioning
flash
% examples/utility/Provisioning
RAM for global variables
% examples/utility/Provisioning_2.0
flash
% examples/utility/Provisioning_2.0
RAM for global variables
% examples/utility/SelfProvisioning
flash
% examples/utility/SelfProvisioning
RAM for global variables
%
arduino:esp32:nano_nora 160 0.01 0 0.0 156 0.0 8 0.0 164 0.01 0 0.0 152 0.0 8 0.0 160 0.01 8 0.0 8 0.0 0 0.0 152 0.0 0 0.0
arduino:mbed_edge:edge_control 136 0.01 8 0.0 136 0.01 0 0.0 136 0.01 8 0.0 136 0.01 0 0.0 8 0.0 0 0.0 72 0.01 0 0.0
arduino:mbed_giga:giga 6296 0.32 200 0.04 6296 0.32 168 0.03 6296 0.32 200 0.04 6296 0.32 200 0.04 6360 0.32 200 0.04 208 0.01 32 0.01 6296 0.32 200 0.04 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:mbed_nano:nanorp2040connect 8271 0.05 764 0.28 8275 0.05 764 0.28 8277 0.05 764 0.28 8267 0.05 764 0.28 8275 0.05 764 0.28 3070 0.02 344 0.13 8271 0.05 764 0.28 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A 0 0.0 0 0.0
arduino:mbed_nicla:nicla_vision 6296 0.32 176 0.03 6304 0.32 208 0.04 6296 0.32 176 0.03 6304 0.32 208 0.04 6296 0.32 208 0.04 208 0.01 32 0.01 6296 0.32 208 0.04 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:mbed_opta:opta 6848 0.35 176 0.03 6984 0.36 208 0.04 6848 0.35 176 0.03 6776 0.34 208 0.04 6848 0.35 176 0.03 208 0.01 32 0.01 6840 0.35 208 0.04 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 7432 0.35 368 0.07 7456 0.36 336 0.06 7432 0.35 368 0.07 7424 0.35 336 0.06 320 0.02 48 0.01 7424 0.35 336 0.06 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:renesas_uno:unor4wifi 10776 4.11 336 1.03 10792 4.12 328 1.0 10792 4.12 336 1.03 10776 4.11 328 1.0 624 0.24 932 2.84 10792 4.12 328 1.0 N/A N/A N/A N/A N/A N/A N/A N/A
arduino:samd:mkr1000 136 0.05 8 0.02 136 0.05 8 0.02 136 0.05 8 0.02 136 0.05 8 0.02 8 0.0 0 0.0 136 0.05 8 0.02 0 0.0 0 0.0
arduino:samd:mkrgsm1400 128 0.05 8 0.02 136 0.05 8 0.02 128 0.05 8 0.02 128 0.05 8 0.02 8 0.0 0 0.0 136 0.05 8 0.02 0 0.0 0 0.0
arduino:samd:mkrnb1500 136 0.05 8 0.02 128 0.05 8 0.02 136 0.05 8 0.02 128 0.05 8 0.02 8 0.0 0 0.0 128 0.05 8 0.02 0 0.0 0 0.0
arduino:samd:mkrwan1300 8 0.0 0 0.0 8 0.0 0 0.0 8 0.0 0 0.0 8 0.0 0 0.0 8 0.0 0 0.0
arduino:samd:mkrwifi1010 7424 2.83 664 2.03 7408 2.83 640 1.95 7416 2.83 648 1.98 7400 2.82 640 1.95 7408 2.83 640 1.95 1936 0.74 288 0.88 7408 2.83 640 1.95 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A 0 0.0 0 0.0
arduino:samd:nano_33_iot 7076 2.7 660 2.01 7084 2.7 652 1.99 7084 2.7 660 2.01 7076 2.7 652 1.99 7076 2.7 652 1.99 1948 0.74 300 0.92 7084 2.7 652 1.99 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A 0 0.0 0 0.0
esp32:esp32:esp32 208 0.02 0 0.0 212 0.02 8 0.0 232 0.02 0 0.0 208 0.02 8 0.0 200 0.02 8 0.0 20 0.0 0 0.0 236 0.02 0 0.0
esp8266:esp8266:huzzah 176 0.02 8 0.01 160 0.02 0 0.0 176 0.02 8 0.01 160 0.02 0 0.0 176 0.02 0 0.0
rp2040:rp2040:rpipicow 136 0.01 0 0.0 136 0.01 8 0.0 136 0.01 8 0.0 136 0.01 8 0.0
Click for full report CSV
Board,examples/ArduinoIoTCloud-Advanced<br>flash,%,examples/ArduinoIoTCloud-Advanced<br>RAM for global variables,%,examples/ArduinoIoTCloud-Basic<br>flash,%,examples/ArduinoIoTCloud-Basic<br>RAM for global variables,%,examples/ArduinoIoTCloud-Callbacks<br>flash,%,examples/ArduinoIoTCloud-Callbacks<br>RAM for global variables,%,examples/utility/ArduinoIoTCloud_Travis_CI<br>flash,%,examples/utility/ArduinoIoTCloud_Travis_CI<br>RAM for global variables,%,examples/ArduinoIoTCloud-DeferredOTA<br>flash,%,examples/ArduinoIoTCloud-DeferredOTA<br>RAM for global variables,%,examples/ArduinoIoTCloud-Notecard<br>flash,%,examples/ArduinoIoTCloud-Notecard<br>RAM for global variables,%,examples/ArduinoIoTCloud-Schedule<br>flash,%,examples/ArduinoIoTCloud-Schedule<br>RAM for global variables,%,examples/ArduinoIoTCloud-NetConfig<br>flash,%,examples/ArduinoIoTCloud-NetConfig<br>RAM for global variables,%,examples/utility/Provisioning<br>flash,%,examples/utility/Provisioning<br>RAM for global variables,%,examples/utility/Provisioning_2.0<br>flash,%,examples/utility/Provisioning_2.0<br>RAM for global variables,%,examples/utility/SelfProvisioning<br>flash,%,examples/utility/SelfProvisioning<br>RAM for global variables,%
arduino:esp32:nano_nora,160,0.01,0,0.0,156,0.0,8,0.0,164,0.01,0,0.0,152,0.0,8,0.0,160,0.01,8,0.0,8,0.0,0,0.0,152,0.0,0,0.0
arduino:mbed_edge:edge_control,136,0.01,8,0.0,136,0.01,0,0.0,136,0.01,8,0.0,136,0.01,0,0.0,,,,,8,0.0,0,0.0,72,0.01,0,0.0
arduino:mbed_giga:giga,6296,0.32,200,0.04,6296,0.32,168,0.03,6296,0.32,200,0.04,6296,0.32,200,0.04,6360,0.32,200,0.04,208,0.01,32,0.01,6296,0.32,200,0.04,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:mbed_nano:nanorp2040connect,8271,0.05,764,0.28,8275,0.05,764,0.28,8277,0.05,764,0.28,8267,0.05,764,0.28,8275,0.05,764,0.28,3070,0.02,344,0.13,8271,0.05,764,0.28,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,0,0.0,0,0.0
arduino:mbed_nicla:nicla_vision,6296,0.32,176,0.03,6304,0.32,208,0.04,6296,0.32,176,0.03,6304,0.32,208,0.04,6296,0.32,208,0.04,208,0.01,32,0.01,6296,0.32,208,0.04,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,,,,
arduino:mbed_opta:opta,6848,0.35,176,0.03,6984,0.36,208,0.04,6848,0.35,176,0.03,6776,0.34,208,0.04,6848,0.35,176,0.03,208,0.01,32,0.01,6840,0.35,208,0.04,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,,,,
arduino:renesas_portenta:portenta_c33,7432,0.35,368,0.07,7456,0.36,336,0.06,7432,0.35,368,0.07,7424,0.35,336,0.06,,,,,320,0.02,48,0.01,7424,0.35,336,0.06,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,,,,
arduino:renesas_uno:unor4wifi,10776,4.11,336,1.03,10792,4.12,328,1.0,10792,4.12,336,1.03,10776,4.11,328,1.0,,,,,624,0.24,932,2.84,10792,4.12,328,1.0,N/A,N/A,N/A,N/A,,,,,N/A,N/A,N/A,N/A,,,,
arduino:samd:mkr1000,136,0.05,8,0.02,136,0.05,8,0.02,136,0.05,8,0.02,136,0.05,8,0.02,,,,,8,0.0,0,0.0,136,0.05,8,0.02,,,,,0,0.0,0,0.0,,,,,,,,
arduino:samd:mkrgsm1400,128,0.05,8,0.02,136,0.05,8,0.02,128,0.05,8,0.02,128,0.05,8,0.02,,,,,8,0.0,0,0.0,136,0.05,8,0.02,,,,,0,0.0,0,0.0,,,,,,,,
arduino:samd:mkrnb1500,136,0.05,8,0.02,128,0.05,8,0.02,136,0.05,8,0.02,128,0.05,8,0.02,,,,,8,0.0,0,0.0,128,0.05,8,0.02,,,,,0,0.0,0,0.0,,,,,,,,
arduino:samd:mkrwan1300,8,0.0,0,0.0,8,0.0,0,0.0,8,0.0,0,0.0,8,0.0,0,0.0,,,,,8,0.0,0,0.0,,,,,,,,,,,,,,,,,,,,
arduino:samd:mkrwifi1010,7424,2.83,664,2.03,7408,2.83,640,1.95,7416,2.83,648,1.98,7400,2.82,640,1.95,7408,2.83,640,1.95,1936,0.74,288,0.88,7408,2.83,640,1.95,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,0,0.0,0,0.0
arduino:samd:nano_33_iot,7076,2.7,660,2.01,7084,2.7,652,1.99,7084,2.7,660,2.01,7076,2.7,652,1.99,7076,2.7,652,1.99,1948,0.74,300,0.92,7084,2.7,652,1.99,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,0,0.0,0,0.0
esp32:esp32:esp32,208,0.02,0,0.0,212,0.02,8,0.0,232,0.02,0,0.0,208,0.02,8,0.0,200,0.02,8,0.0,20,0.0,0,0.0,236,0.02,0,0.0,,,,,,,,,,,,,,,,
esp8266:esp8266:huzzah,176,0.02,8,0.01,160,0.02,0,0.0,176,0.02,8,0.01,160,0.02,0,0.0,,,,,,,,,176,0.02,0,0.0,,,,,,,,,,,,,,,,
rp2040:rp2040:rpipicow,136,0.01,0,0.0,136,0.01,8,0.0,136,0.01,8,0.0,136,0.01,8,0.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,

Copy link

Memory usage change @ 370ef63

Board flash % RAM for global variables %
arduino:esp32:nano_nora 🔺 +8 - +164 0.0 - +0.01 🔺 0 - +8 0.0 - 0.0
arduino:mbed_edge:edge_control 🔺 +8 - +136 0.0 - +0.01 🔺 0 - +8 0.0 - 0.0
arduino:mbed_giga:giga 🔺 0 - +6360 0.0 - +0.32 🔺 0 - +200 0.0 - +0.04
arduino:mbed_nano:nanorp2040connect 🔺 0 - +8277 0.0 - +0.05 🔺 0 - +764 0.0 - +0.28
arduino:mbed_nicla:nicla_vision 🔺 0 - +6304 0.0 - +0.32 🔺 0 - +208 0.0 - +0.04
arduino:mbed_opta:opta 🔺 0 - +6984 0.0 - +0.36 🔺 0 - +208 0.0 - +0.04
arduino:renesas_portenta:portenta_c33 🔺 0 - +7456 0.0 - +0.36 🔺 0 - +368 0.0 - +0.07
arduino:renesas_uno:unor4wifi 🔺 +624 - +10792 +0.24 - +4.12 🔺 +328 - +932 +1.0 - +2.84
arduino:samd:mkr1000 🔺 0 - +136 0.0 - +0.05 🔺 0 - +8 0.0 - +0.02
arduino:samd:mkrgsm1400 🔺 0 - +136 0.0 - +0.05 🔺 0 - +8 0.0 - +0.02
arduino:samd:mkrnb1500 🔺 0 - +136 0.0 - +0.05 🔺 0 - +8 0.0 - +0.02
arduino:samd:mkrwan1300 🔺 +8 - +8 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 🔺 0 - +7424 0.0 - +2.83 🔺 0 - +664 0.0 - +2.03
arduino:samd:nano_33_iot 🔺 0 - +7084 0.0 - +2.7 🔺 0 - +660 0.0 - +2.01
esp32:esp32:esp32 🔺 +20 - +236 0.0 - +0.02 🔺 0 - +8 0.0 - 0.0
esp8266:esp8266:huzzah 🔺 +160 - +176 +0.02 - +0.02 🔺 0 - +8 0.0 - +0.01
rp2040:rp2040:rpipicow 🔺 +136 - +136 +0.01 - +0.01 🔺 0 - +8 0.0 - 0.0
Click for full report table
Board examples/ArduinoIoTCloud-Advanced
flash
% examples/ArduinoIoTCloud-Advanced
RAM for global variables
% examples/ArduinoIoTCloud-Basic
flash
% examples/ArduinoIoTCloud-Basic
RAM for global variables
% examples/ArduinoIoTCloud-Callbacks
flash
% examples/ArduinoIoTCloud-Callbacks
RAM for global variables
% examples/utility/ArduinoIoTCloud_Travis_CI
flash
% examples/utility/ArduinoIoTCloud_Travis_CI
RAM for global variables
% examples/ArduinoIoTCloud-DeferredOTA
flash
% examples/ArduinoIoTCloud-DeferredOTA
RAM for global variables
% examples/ArduinoIoTCloud-Notecard
flash
% examples/ArduinoIoTCloud-Notecard
RAM for global variables
% examples/ArduinoIoTCloud-Schedule
flash
% examples/ArduinoIoTCloud-Schedule
RAM for global variables
% examples/ArduinoIoTCloud-NetConfig
flash
% examples/ArduinoIoTCloud-NetConfig
RAM for global variables
% examples/utility/Provisioning
flash
% examples/utility/Provisioning
RAM for global variables
% examples/utility/Provisioning_2.0
flash
% examples/utility/Provisioning_2.0
RAM for global variables
% examples/utility/SelfProvisioning
flash
% examples/utility/SelfProvisioning
RAM for global variables
%
arduino:esp32:nano_nora 160 0.01 0 0.0 156 0.0 8 0.0 164 0.01 0 0.0 152 0.0 8 0.0 160 0.01 8 0.0 8 0.0 0 0.0 152 0.0 0 0.0
arduino:mbed_edge:edge_control 136 0.01 8 0.0 136 0.01 0 0.0 136 0.01 8 0.0 136 0.01 0 0.0 8 0.0 0 0.0 72 0.01 0 0.0
arduino:mbed_giga:giga 6296 0.32 200 0.04 6296 0.32 168 0.03 6296 0.32 200 0.04 6296 0.32 200 0.04 6360 0.32 200 0.04 208 0.01 32 0.01 6296 0.32 200 0.04 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:mbed_nano:nanorp2040connect 8271 0.05 764 0.28 8275 0.05 764 0.28 8277 0.05 764 0.28 8267 0.05 764 0.28 8275 0.05 764 0.28 3070 0.02 344 0.13 8271 0.05 764 0.28 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A 0 0.0 0 0.0
arduino:mbed_nicla:nicla_vision 6296 0.32 176 0.03 6304 0.32 208 0.04 6296 0.32 176 0.03 6304 0.32 208 0.04 6296 0.32 208 0.04 208 0.01 32 0.01 6296 0.32 208 0.04 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:mbed_opta:opta 6848 0.35 176 0.03 6984 0.36 208 0.04 6848 0.35 176 0.03 6776 0.34 208 0.04 6848 0.35 176 0.03 208 0.01 32 0.01 6840 0.35 208 0.04 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 7432 0.35 368 0.07 7456 0.36 336 0.06 7432 0.35 368 0.07 7424 0.35 336 0.06 320 0.02 48 0.01 7424 0.35 336 0.06 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:renesas_uno:unor4wifi 10776 4.11 336 1.03 10792 4.12 328 1.0 10792 4.12 336 1.03 10776 4.11 328 1.0 624 0.24 932 2.84 10792 4.12 328 1.0 N/A N/A N/A N/A N/A N/A N/A N/A
arduino:samd:mkr1000 136 0.05 8 0.02 136 0.05 8 0.02 136 0.05 8 0.02 136 0.05 8 0.02 8 0.0 0 0.0 136 0.05 8 0.02 0 0.0 0 0.0
arduino:samd:mkrgsm1400 128 0.05 8 0.02 136 0.05 8 0.02 128 0.05 8 0.02 128 0.05 8 0.02 8 0.0 0 0.0 136 0.05 8 0.02 0 0.0 0 0.0
arduino:samd:mkrnb1500 136 0.05 8 0.02 128 0.05 8 0.02 136 0.05 8 0.02 128 0.05 8 0.02 8 0.0 0 0.0 128 0.05 8 0.02 0 0.0 0 0.0
arduino:samd:mkrwan1300 8 0.0 0 0.0 8 0.0 0 0.0 8 0.0 0 0.0 8 0.0 0 0.0 8 0.0 0 0.0
arduino:samd:mkrwifi1010 7424 2.83 664 2.03 7408 2.83 640 1.95 7416 2.83 648 1.98 7400 2.82 640 1.95 7408 2.83 640 1.95 1936 0.74 288 0.88 7408 2.83 640 1.95 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A 0 0.0 0 0.0
arduino:samd:nano_33_iot 7076 2.7 660 2.01 7084 2.7 652 1.99 7084 2.7 660 2.01 7076 2.7 652 1.99 7076 2.7 652 1.99 1948 0.74 300 0.92 7084 2.7 652 1.99 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A 0 0.0 0 0.0
esp32:esp32:esp32 208 0.02 0 0.0 212 0.02 8 0.0 232 0.02 0 0.0 208 0.02 8 0.0 200 0.02 8 0.0 20 0.0 0 0.0 236 0.02 0 0.0
esp8266:esp8266:huzzah 176 0.02 8 0.01 160 0.02 0 0.0 176 0.02 8 0.01 160 0.02 0 0.0 176 0.02 0 0.0
rp2040:rp2040:rpipicow 136 0.01 0 0.0 136 0.01 8 0.0 136 0.01 8 0.0 136 0.01 8 0.0
Click for full report CSV
Board,examples/ArduinoIoTCloud-Advanced<br>flash,%,examples/ArduinoIoTCloud-Advanced<br>RAM for global variables,%,examples/ArduinoIoTCloud-Basic<br>flash,%,examples/ArduinoIoTCloud-Basic<br>RAM for global variables,%,examples/ArduinoIoTCloud-Callbacks<br>flash,%,examples/ArduinoIoTCloud-Callbacks<br>RAM for global variables,%,examples/utility/ArduinoIoTCloud_Travis_CI<br>flash,%,examples/utility/ArduinoIoTCloud_Travis_CI<br>RAM for global variables,%,examples/ArduinoIoTCloud-DeferredOTA<br>flash,%,examples/ArduinoIoTCloud-DeferredOTA<br>RAM for global variables,%,examples/ArduinoIoTCloud-Notecard<br>flash,%,examples/ArduinoIoTCloud-Notecard<br>RAM for global variables,%,examples/ArduinoIoTCloud-Schedule<br>flash,%,examples/ArduinoIoTCloud-Schedule<br>RAM for global variables,%,examples/ArduinoIoTCloud-NetConfig<br>flash,%,examples/ArduinoIoTCloud-NetConfig<br>RAM for global variables,%,examples/utility/Provisioning<br>flash,%,examples/utility/Provisioning<br>RAM for global variables,%,examples/utility/Provisioning_2.0<br>flash,%,examples/utility/Provisioning_2.0<br>RAM for global variables,%,examples/utility/SelfProvisioning<br>flash,%,examples/utility/SelfProvisioning<br>RAM for global variables,%
arduino:esp32:nano_nora,160,0.01,0,0.0,156,0.0,8,0.0,164,0.01,0,0.0,152,0.0,8,0.0,160,0.01,8,0.0,8,0.0,0,0.0,152,0.0,0,0.0
arduino:mbed_edge:edge_control,136,0.01,8,0.0,136,0.01,0,0.0,136,0.01,8,0.0,136,0.01,0,0.0,,,,,8,0.0,0,0.0,72,0.01,0,0.0
arduino:mbed_giga:giga,6296,0.32,200,0.04,6296,0.32,168,0.03,6296,0.32,200,0.04,6296,0.32,200,0.04,6360,0.32,200,0.04,208,0.01,32,0.01,6296,0.32,200,0.04,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:mbed_nano:nanorp2040connect,8271,0.05,764,0.28,8275,0.05,764,0.28,8277,0.05,764,0.28,8267,0.05,764,0.28,8275,0.05,764,0.28,3070,0.02,344,0.13,8271,0.05,764,0.28,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,0,0.0,0,0.0
arduino:mbed_nicla:nicla_vision,6296,0.32,176,0.03,6304,0.32,208,0.04,6296,0.32,176,0.03,6304,0.32,208,0.04,6296,0.32,208,0.04,208,0.01,32,0.01,6296,0.32,208,0.04,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,,,,
arduino:mbed_opta:opta,6848,0.35,176,0.03,6984,0.36,208,0.04,6848,0.35,176,0.03,6776,0.34,208,0.04,6848,0.35,176,0.03,208,0.01,32,0.01,6840,0.35,208,0.04,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,,,,
arduino:renesas_portenta:portenta_c33,7432,0.35,368,0.07,7456,0.36,336,0.06,7432,0.35,368,0.07,7424,0.35,336,0.06,,,,,320,0.02,48,0.01,7424,0.35,336,0.06,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,,,,
arduino:renesas_uno:unor4wifi,10776,4.11,336,1.03,10792,4.12,328,1.0,10792,4.12,336,1.03,10776,4.11,328,1.0,,,,,624,0.24,932,2.84,10792,4.12,328,1.0,N/A,N/A,N/A,N/A,,,,,N/A,N/A,N/A,N/A,,,,
arduino:samd:mkr1000,136,0.05,8,0.02,136,0.05,8,0.02,136,0.05,8,0.02,136,0.05,8,0.02,,,,,8,0.0,0,0.0,136,0.05,8,0.02,,,,,0,0.0,0,0.0,,,,,,,,
arduino:samd:mkrgsm1400,128,0.05,8,0.02,136,0.05,8,0.02,128,0.05,8,0.02,128,0.05,8,0.02,,,,,8,0.0,0,0.0,136,0.05,8,0.02,,,,,0,0.0,0,0.0,,,,,,,,
arduino:samd:mkrnb1500,136,0.05,8,0.02,128,0.05,8,0.02,136,0.05,8,0.02,128,0.05,8,0.02,,,,,8,0.0,0,0.0,128,0.05,8,0.02,,,,,0,0.0,0,0.0,,,,,,,,
arduino:samd:mkrwan1300,8,0.0,0,0.0,8,0.0,0,0.0,8,0.0,0,0.0,8,0.0,0,0.0,,,,,8,0.0,0,0.0,,,,,,,,,,,,,,,,,,,,
arduino:samd:mkrwifi1010,7424,2.83,664,2.03,7408,2.83,640,1.95,7416,2.83,648,1.98,7400,2.82,640,1.95,7408,2.83,640,1.95,1936,0.74,288,0.88,7408,2.83,640,1.95,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,0,0.0,0,0.0
arduino:samd:nano_33_iot,7076,2.7,660,2.01,7084,2.7,652,1.99,7084,2.7,660,2.01,7076,2.7,652,1.99,7076,2.7,652,1.99,1948,0.74,300,0.92,7084,2.7,652,1.99,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,0,0.0,0,0.0
esp32:esp32:esp32,208,0.02,0,0.0,212,0.02,8,0.0,232,0.02,0,0.0,208,0.02,8,0.0,200,0.02,8,0.0,20,0.0,0,0.0,236,0.02,0,0.0,,,,,,,,,,,,,,,,
esp8266:esp8266:huzzah,176,0.02,8,0.01,160,0.02,0,0.0,176,0.02,8,0.01,160,0.02,0,0.0,,,,,,,,,176,0.02,0,0.0,,,,,,,,,,,,,,,,
rp2040:rp2040:rpipicow,136,0.01,0,0.0,136,0.01,8,0.0,136,0.01,8,0.0,136,0.01,8,0.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,

Copy link

Memory usage change @ b7f0655

Board flash % RAM for global variables %
arduino:esp32:nano_nora 🔺 +8 - +164 0.0 - +0.01 🔺 0 - +8 0.0 - 0.0
arduino:mbed_edge:edge_control 🔺 +8 - +136 0.0 - +0.01 🔺 0 - +8 0.0 - 0.0
arduino:mbed_giga:giga 🔺 0 - +6360 0.0 - +0.32 🔺 0 - +200 0.0 - +0.04
arduino:mbed_nano:nanorp2040connect 🔺 0 - +8277 0.0 - +0.05 🔺 0 - +764 0.0 - +0.28
arduino:mbed_nicla:nicla_vision 🔺 0 - +6296 0.0 - +0.32 🔺 0 - +200 0.0 - +0.04
arduino:mbed_opta:opta 🔺 0 - +6984 0.0 - +0.36 🔺 0 - +208 0.0 - +0.04
arduino:renesas_portenta:portenta_c33 🔺 0 - +7448 0.0 - +0.36 🔺 0 - +368 0.0 - +0.07
arduino:renesas_uno:unor4wifi 🔺 +624 - +10792 +0.24 - +4.12 🔺 +328 - +932 +1.0 - +2.84
arduino:samd:mkr1000 🔺 0 - +136 0.0 - +0.05 🔺 0 - +8 0.0 - +0.02
arduino:samd:mkrgsm1400 🔺 0 - +136 0.0 - +0.05 🔺 0 - +8 0.0 - +0.02
arduino:samd:mkrnb1500 🔺 0 - +136 0.0 - +0.05 🔺 0 - +8 0.0 - +0.02
arduino:samd:mkrwan1300 🔺 +8 - +8 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 🔺 0 - +7424 0.0 - +2.83 🔺 0 - +664 0.0 - +2.03
arduino:samd:nano_33_iot 🔺 0 - +7084 0.0 - +2.7 🔺 0 - +660 0.0 - +2.01
esp32:esp32:esp32 🔺 +20 - +236 0.0 - +0.02 🔺 0 - +8 0.0 - 0.0
esp8266:esp8266:huzzah 🔺 +160 - +176 +0.02 - +0.02 🔺 0 - +8 0.0 - +0.01
rp2040:rp2040:rpipicow 🔺 +136 - +136 +0.01 - +0.01 🔺 0 - +8 0.0 - 0.0
Click for full report table
Board examples/ArduinoIoTCloud-Advanced
flash
% examples/ArduinoIoTCloud-Advanced
RAM for global variables
% examples/ArduinoIoTCloud-Basic
flash
% examples/ArduinoIoTCloud-Basic
RAM for global variables
% examples/ArduinoIoTCloud-Callbacks
flash
% examples/ArduinoIoTCloud-Callbacks
RAM for global variables
% examples/utility/ArduinoIoTCloud_Travis_CI
flash
% examples/utility/ArduinoIoTCloud_Travis_CI
RAM for global variables
% examples/ArduinoIoTCloud-DeferredOTA
flash
% examples/ArduinoIoTCloud-DeferredOTA
RAM for global variables
% examples/ArduinoIoTCloud-Notecard
flash
% examples/ArduinoIoTCloud-Notecard
RAM for global variables
% examples/ArduinoIoTCloud-Schedule
flash
% examples/ArduinoIoTCloud-Schedule
RAM for global variables
% examples/ArduinoIoTCloud-NetConfig
flash
% examples/ArduinoIoTCloud-NetConfig
RAM for global variables
% examples/utility/Provisioning
flash
% examples/utility/Provisioning
RAM for global variables
% examples/utility/Provisioning_2.0
flash
% examples/utility/Provisioning_2.0
RAM for global variables
% examples/utility/SelfProvisioning
flash
% examples/utility/SelfProvisioning
RAM for global variables
%
arduino:esp32:nano_nora 160 0.01 0 0.0 156 0.0 8 0.0 164 0.01 0 0.0 152 0.0 8 0.0 160 0.01 8 0.0 8 0.0 0 0.0 152 0.0 0 0.0
arduino:mbed_edge:edge_control 136 0.01 8 0.0 136 0.01 0 0.0 136 0.01 8 0.0 136 0.01 0 0.0 8 0.0 0 0.0 72 0.01 0 0.0
arduino:mbed_giga:giga 6296 0.32 200 0.04 6296 0.32 168 0.03 6296 0.32 200 0.04 6296 0.32 200 0.04 6360 0.32 200 0.04 208 0.01 32 0.01 6296 0.32 200 0.04 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:mbed_nano:nanorp2040connect 8271 0.05 764 0.28 8275 0.05 764 0.28 8277 0.05 764 0.28 8267 0.05 764 0.28 8275 0.05 764 0.28 3070 0.02 344 0.13 8271 0.05 764 0.28 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A 0 0.0 0 0.0
arduino:mbed_nicla:nicla_vision 6288 0.32 200 0.04 6296 0.32 168 0.03 6288 0.32 200 0.04 6296 0.32 168 0.03 6288 0.32 200 0.04 208 0.01 32 0.01 6288 0.32 168 0.03 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:mbed_opta:opta 6784 0.35 176 0.03 6984 0.36 208 0.04 6848 0.35 176 0.03 6776 0.34 208 0.04 6848 0.35 176 0.03 208 0.01 32 0.01 6840 0.35 208 0.04 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 7432 0.35 368 0.07 7448 0.36 336 0.06 7424 0.35 368 0.07 7432 0.35 336 0.06 320 0.02 48 0.01 7432 0.35 336 0.06 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:renesas_uno:unor4wifi 10776 4.11 336 1.03 10792 4.12 328 1.0 10792 4.12 336 1.03 10792 4.12 328 1.0 624 0.24 932 2.84 10792 4.12 328 1.0 N/A N/A N/A N/A N/A N/A N/A N/A
arduino:samd:mkr1000 136 0.05 8 0.02 136 0.05 8 0.02 136 0.05 8 0.02 136 0.05 8 0.02 8 0.0 0 0.0 136 0.05 8 0.02 0 0.0 0 0.0
arduino:samd:mkrgsm1400 128 0.05 8 0.02 136 0.05 8 0.02 128 0.05 8 0.02 128 0.05 8 0.02 8 0.0 0 0.0 136 0.05 8 0.02 0 0.0 0 0.0
arduino:samd:mkrnb1500 136 0.05 8 0.02 128 0.05 8 0.02 136 0.05 8 0.02 128 0.05 8 0.02 8 0.0 0 0.0 128 0.05 8 0.02 0 0.0 0 0.0
arduino:samd:mkrwan1300 8 0.0 0 0.0 8 0.0 0 0.0 8 0.0 0 0.0 8 0.0 0 0.0 8 0.0 0 0.0
arduino:samd:mkrwifi1010 7424 2.83 664 2.03 7408 2.83 640 1.95 7416 2.83 648 1.98 7400 2.82 640 1.95 7408 2.83 640 1.95 1936 0.74 288 0.88 7408 2.83 640 1.95 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A 0 0.0 0 0.0
arduino:samd:nano_33_iot 7076 2.7 660 2.01 7084 2.7 652 1.99 7084 2.7 660 2.01 7076 2.7 652 1.99 7076 2.7 652 1.99 1948 0.74 300 0.92 7084 2.7 652 1.99 N/A N/A N/A N/A 0 0.0 0 0.0 N/A N/A N/A N/A 0 0.0 0 0.0
esp32:esp32:esp32 208 0.02 0 0.0 212 0.02 8 0.0 232 0.02 0 0.0 208 0.02 8 0.0 200 0.02 8 0.0 20 0.0 0 0.0 236 0.02 0 0.0
esp8266:esp8266:huzzah 176 0.02 8 0.01 160 0.02 0 0.0 176 0.02 8 0.01 160 0.02 0 0.0 176 0.02 0 0.0
rp2040:rp2040:rpipicow 136 0.01 0 0.0 136 0.01 8 0.0 136 0.01 8 0.0 136 0.01 8 0.0
Click for full report CSV
Board,examples/ArduinoIoTCloud-Advanced<br>flash,%,examples/ArduinoIoTCloud-Advanced<br>RAM for global variables,%,examples/ArduinoIoTCloud-Basic<br>flash,%,examples/ArduinoIoTCloud-Basic<br>RAM for global variables,%,examples/ArduinoIoTCloud-Callbacks<br>flash,%,examples/ArduinoIoTCloud-Callbacks<br>RAM for global variables,%,examples/utility/ArduinoIoTCloud_Travis_CI<br>flash,%,examples/utility/ArduinoIoTCloud_Travis_CI<br>RAM for global variables,%,examples/ArduinoIoTCloud-DeferredOTA<br>flash,%,examples/ArduinoIoTCloud-DeferredOTA<br>RAM for global variables,%,examples/ArduinoIoTCloud-Notecard<br>flash,%,examples/ArduinoIoTCloud-Notecard<br>RAM for global variables,%,examples/ArduinoIoTCloud-Schedule<br>flash,%,examples/ArduinoIoTCloud-Schedule<br>RAM for global variables,%,examples/ArduinoIoTCloud-NetConfig<br>flash,%,examples/ArduinoIoTCloud-NetConfig<br>RAM for global variables,%,examples/utility/Provisioning<br>flash,%,examples/utility/Provisioning<br>RAM for global variables,%,examples/utility/Provisioning_2.0<br>flash,%,examples/utility/Provisioning_2.0<br>RAM for global variables,%,examples/utility/SelfProvisioning<br>flash,%,examples/utility/SelfProvisioning<br>RAM for global variables,%
arduino:esp32:nano_nora,160,0.01,0,0.0,156,0.0,8,0.0,164,0.01,0,0.0,152,0.0,8,0.0,160,0.01,8,0.0,8,0.0,0,0.0,152,0.0,0,0.0
arduino:mbed_edge:edge_control,136,0.01,8,0.0,136,0.01,0,0.0,136,0.01,8,0.0,136,0.01,0,0.0,,,,,8,0.0,0,0.0,72,0.01,0,0.0
arduino:mbed_giga:giga,6296,0.32,200,0.04,6296,0.32,168,0.03,6296,0.32,200,0.04,6296,0.32,200,0.04,6360,0.32,200,0.04,208,0.01,32,0.01,6296,0.32,200,0.04,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:mbed_nano:nanorp2040connect,8271,0.05,764,0.28,8275,0.05,764,0.28,8277,0.05,764,0.28,8267,0.05,764,0.28,8275,0.05,764,0.28,3070,0.02,344,0.13,8271,0.05,764,0.28,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,0,0.0,0,0.0
arduino:mbed_nicla:nicla_vision,6288,0.32,200,0.04,6296,0.32,168,0.03,6288,0.32,200,0.04,6296,0.32,168,0.03,6288,0.32,200,0.04,208,0.01,32,0.01,6288,0.32,168,0.03,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,,,,
arduino:mbed_opta:opta,6784,0.35,176,0.03,6984,0.36,208,0.04,6848,0.35,176,0.03,6776,0.34,208,0.04,6848,0.35,176,0.03,208,0.01,32,0.01,6840,0.35,208,0.04,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,,,,
arduino:renesas_portenta:portenta_c33,7432,0.35,368,0.07,7448,0.36,336,0.06,7424,0.35,368,0.07,7432,0.35,336,0.06,,,,,320,0.02,48,0.01,7432,0.35,336,0.06,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,,,,
arduino:renesas_uno:unor4wifi,10776,4.11,336,1.03,10792,4.12,328,1.0,10792,4.12,336,1.03,10792,4.12,328,1.0,,,,,624,0.24,932,2.84,10792,4.12,328,1.0,N/A,N/A,N/A,N/A,,,,,N/A,N/A,N/A,N/A,,,,
arduino:samd:mkr1000,136,0.05,8,0.02,136,0.05,8,0.02,136,0.05,8,0.02,136,0.05,8,0.02,,,,,8,0.0,0,0.0,136,0.05,8,0.02,,,,,0,0.0,0,0.0,,,,,,,,
arduino:samd:mkrgsm1400,128,0.05,8,0.02,136,0.05,8,0.02,128,0.05,8,0.02,128,0.05,8,0.02,,,,,8,0.0,0,0.0,136,0.05,8,0.02,,,,,0,0.0,0,0.0,,,,,,,,
arduino:samd:mkrnb1500,136,0.05,8,0.02,128,0.05,8,0.02,136,0.05,8,0.02,128,0.05,8,0.02,,,,,8,0.0,0,0.0,128,0.05,8,0.02,,,,,0,0.0,0,0.0,,,,,,,,
arduino:samd:mkrwan1300,8,0.0,0,0.0,8,0.0,0,0.0,8,0.0,0,0.0,8,0.0,0,0.0,,,,,8,0.0,0,0.0,,,,,,,,,,,,,,,,,,,,
arduino:samd:mkrwifi1010,7424,2.83,664,2.03,7408,2.83,640,1.95,7416,2.83,648,1.98,7400,2.82,640,1.95,7408,2.83,640,1.95,1936,0.74,288,0.88,7408,2.83,640,1.95,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,0,0.0,0,0.0
arduino:samd:nano_33_iot,7076,2.7,660,2.01,7084,2.7,652,1.99,7084,2.7,660,2.01,7076,2.7,652,1.99,7076,2.7,652,1.99,1948,0.74,300,0.92,7084,2.7,652,1.99,N/A,N/A,N/A,N/A,0,0.0,0,0.0,N/A,N/A,N/A,N/A,0,0.0,0,0.0
esp32:esp32:esp32,208,0.02,0,0.0,212,0.02,8,0.0,232,0.02,0,0.0,208,0.02,8,0.0,200,0.02,8,0.0,20,0.0,0,0.0,236,0.02,0,0.0,,,,,,,,,,,,,,,,
esp8266:esp8266:huzzah,176,0.02,8,0.01,160,0.02,0,0.0,176,0.02,8,0.01,160,0.02,0,0.0,,,,,,,,,176,0.02,0,0.0,,,,,,,,,,,,,,,,
rp2040:rp2040:rpipicow,136,0.01,0,0.0,136,0.01,8,0.0,136,0.01,8,0.0,136,0.01,8,0.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,

initProperties();
AgentsManagerClass::getInstance().begin();
LEDFeedbackClass::getInstance().begin();
DEBUG_INFO("Starting Provisioning");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add also the binary version and Network configurator version

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The network configurator version is already inside the NetworkConfigurator with a specific command for read it and for the binary version I think we can keep aligned with the SKETCH_VERSION

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants